<template>
  <div class="container">
    <f-layout style="color: white; overflow:hidden; ">
      <f-sider
        style="height: 200px; background:#ddd; width:200px; color: black;"
        >sider</f-sider
      >
      <f-layout>
        <f-header style="height: 50px; background:lightskyblue;"
          >header</f-header
        >
        <f-content style="height: 100px; background:deepskyblue;"
          >content</f-content
        >
        <f-footer style="height: 50px; background:lightskyblue;"
          >footer</f-footer
        >
      </f-layout>
    </f-layout>
  </div>
</template>
<script>
import FLayout from "../../../src/layout.vue";
import FHeader from "../../../src/header.vue";
import FContent from "../../../src/content.vue";
import FFooter from "../../../src/footer.vue";
import FSider from "../../../src/sider.vue";
export default {
  components: {
    "f-layout": FLayout,
    "f-header": FHeader,
    "f-content": FContent,
    "f-sider": FSider,
    "f-footer": FFooter,
  },
};
</script>
<style scoped>
.container {
  max-width: 800px;
  margin: 30px auto;
  border-radius: 4px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  padding: 15px;
}
.container:hover {
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3), 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}
</style>
